These rules are adopted from the AngularJS commit conventions.
Discover gists
This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.
"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.
"use client"; | |
import type { Job } from "@/payload-types"; | |
import { gql, useQuery } from "@apollo/client"; | |
import { useDocumentInfo, useForm } from "@payloadcms/ui"; | |
import { useEffect, useState } from "react"; | |
const WarehouseIdQuery = gql(/* GraphQL */ ` | |
query WarehouseIdQuery { | |
Addresses(where: { type: { equals: warehouse } }) { |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:
- June 2021 - list of endpoints for other sports/leagues (i.e. basketball, baseball, lacrosse, rugby)
- August 2021 - get historical fantasy league data
- September 2021 - list of endpoints in plain text
- May 2023 - collapsed endpoint response examples
Additional Resources
This is a story about how I tried to use Go for scripting. In this story, I’ll discuss the need for a Go script, how we would expect it to behave and the possible implementations; During the discussion I’ll deep dive to scripts, shells, and shebangs. Finally, we’ll discuss solutions that will make Go scripts work.
While python and bash are popular scripting languages, C, C++ and Java are not used for scripts at all, and some languages are somewhere in between.
This gist is an ES module which provides functions to import and export data from an IndexedDB database as JSON. It's based on Justin Emery's indexeddb-export-import
package, but applies some adjustments that reflect better on the current browser landscape (i.e. better developer ergonomics but no support for Internet Explorer).
For each of the provided functionalities, you need a connected IDBDatabase
instance.
import { idb } from 'some-database'
# Rime dictionary | |
# encoding: utf-8 | |
# | |
# kuankhiunn - 廣韻羅馬字 | |
# | |
# 基於Polyhedron、有女同車整理的《廣韻全字表》製作 | |
# 拼寫方案採用有女同車羅馬字,佛振根據有女同車的修改意見改編 | |
# | |
--- |
========================== | |
How Software Companies Die | |
========================== | |
- Orson Scott Card | |
The environment that nurtures creative programmers kills management and | |
marketing types - and vice versa. | |
Programming is the Great Game. It consumes you, body and soul. When | |
you're caught up in it, nothing else matters. When you emerge into |
# ~/src/non-oss-container/build.sh | |
#!/bin/bash | |
set -euo pipefail | |
mkdir -p ~/non-oss-root/ | |
podman image rm --force localhost/non-oss || : |